package com.zhilianbao.leyaogo.ui.activity.me.moneyaccount;

import android.os.Bundle;

import com.bql.fragmentation.anim.DefaultHorizontalAnimator;
import com.bql.fragmentation.anim.FragmentAnimator;
import com.zhilianbao.leyaogo.R;
import com.zhilianbao.leyaogo.ui.activity.base.BaseOkHttpActivity;
import com.zhilianbao.leyaogo.ui.fragment.me.myaccount.RechargeSaleCardFragment;

/**
 * ClassName: RechargeSaleCardActivity <br>
 * Description:电商线上可销售列表Activity <br>
 * Author: Cyarie <br>
 * Created: 2017/3/8 09:44 <br>
 * Update Time：<br>
 * Update Description：<br>
 */
public class RechargeSaleCardActivity extends BaseOkHttpActivity {
    @Override
    protected int getContentViewLayoutID() {
        return R.layout.fragment_container;
    }

    @Override
    protected void initViewsAndEvents(Bundle savedInstanceState) {
        if (savedInstanceState == null) {
            loadRootFragment(R.id.fl_container, RechargeSaleCardFragment.getInstance(getIntent().getExtras()));
        }
    }

    @Override
    protected FragmentAnimator onCreateFragmentAnimator() {
        return new DefaultHorizontalAnimator();
    }
}
